﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC21Controller
    /// </summary>
    public class VYC21Controller
    {
        private static VYC21BO _vyc21Bo;
        public VYC21Controller()
        {
            _vyc21Bo = new VYC21BO();
        }
        public List<ModelVYC21> GetAllList()
        {
            return _vyc21Bo.GetAllList();
        }
        public int AddData(ModelVYC21 model)
        {
            return _vyc21Bo.AddData(model);
        }
        public int EditData(ModelVYC21 model)
        {
            return _vyc21Bo.EditData(model);
        }
        public int DeleteData(ModelVYC21 model)
        {
            return _vyc21Bo.DeleteData(model);
        }
        public List<ModelVYC21> GetById(string id)
        {
            return _vyc21Bo.GetById(id);
        }
        public List<ModelVYC21> GetLimitAlbumForModule(int trangthai)
        {
            return _vyc21Bo.GetLimitAlbumForModule(trangthai);
        }
        public List<ModelVYC21> GetLimitAlbumForTourDetail(int trangthai, int idsubloaitour)
        {
            return _vyc21Bo.GetLimitAlbumForTourDetail(trangthai, idsubloaitour);
        }
    }
}